package com.ruoyi.ufox.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 蔬菜机对象 bis_device
 * 
 * @author ufoxs
 * @date 2022-08-15
 */

public class BisDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long deviceId;

    /** 设备编号8位 */
    @Excel(name = "设备编号8位")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 在线状态1在线0离线 */
    @Excel(name = "在线状态1在线0离线")
    private Long online;

    /** 风扇开闭状态1开0闭 */
    @Excel(name = "风扇开闭状态1开0闭")
    private Long fanStatus;

    /** 水泵开闭状态1开0闭 */
    @Excel(name = "水泵开闭状态1开0闭")
    private Long pumpStatus;

    /** 卷帘开闭状态1开0闭 */
    @Excel(name = "卷帘开闭状态1开0闭")
    private Long rollerShutterStatus;

    /** 照明开闭状态1开0闭 */
    @Excel(name = "照明开闭状态1开0闭")
    private Long lighterStatus;

    /** 温度 */
    @Excel(name = "温度")
    private BigDecimal temperature;

    /** 湿度 */
    @Excel(name = "湿度")
    private BigDecimal humidity;

    /** 光强 */
    @Excel(name = "光强")
    private BigDecimal lightIntensity;

    /** 照明亮度0-100 */
    @Excel(name = "照明亮度0-100")
    private Long lighterValue;

    /** 照片 */
    @Excel(name = "照片")
    private Long photoId;

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    private String photo;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setOnline(Long online) 
    {
        this.online = online;
    }

    public Long getOnline() 
    {
        return online;
    }
    public void setFanStatus(Long fanStatus) 
    {
        this.fanStatus = fanStatus;
    }

    public Long getFanStatus() 
    {
        return fanStatus;
    }
    public void setPumpStatus(Long pumpStatus) 
    {
        this.pumpStatus = pumpStatus;
    }

    public Long getPumpStatus() 
    {
        return pumpStatus;
    }
    public void setRollerShutterStatus(Long rollerShutterStatus) 
    {
        this.rollerShutterStatus = rollerShutterStatus;
    }

    public Long getRollerShutterStatus() 
    {
        return rollerShutterStatus;
    }
    public void setLighterStatus(Long lighterStatus) 
    {
        this.lighterStatus = lighterStatus;
    }

    public Long getLighterStatus() 
    {
        return lighterStatus;
    }
    public void setTemperature(BigDecimal temperature) 
    {
        this.temperature = temperature;
    }

    public BigDecimal getTemperature() 
    {
        return temperature;
    }
    public void setHumidity(BigDecimal humidity) 
    {
        this.humidity = humidity;
    }

    public BigDecimal getHumidity() 
    {
        return humidity;
    }
    public void setLightIntensity(BigDecimal lightIntensity) 
    {
        this.lightIntensity = lightIntensity;
    }

    public BigDecimal getLightIntensity() 
    {
        return lightIntensity;
    }
    public void setLighterValue(Long lighterValue) 
    {
        this.lighterValue = lighterValue;
    }

    public Long getLighterValue() 
    {
        return lighterValue;
    }
    public void setPhotoId(Long photoId) 
    {
        this.photoId = photoId;
    }

    public Long getPhotoId() 
    {
        return photoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("online", getOnline())
            .append("fanStatus", getFanStatus())
            .append("pumpStatus", getPumpStatus())
            .append("rollerShutterStatus", getRollerShutterStatus())
            .append("lighterStatus", getLighterStatus())
            .append("temperature", getTemperature())
            .append("humidity", getHumidity())
            .append("lightIntensity", getLightIntensity())
            .append("lighterValue", getLighterValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("photoId", getPhotoId())
            .toString();
    }
}
